package org.example.biconsumer;

import java.util.LinkedHashMap;
import java.util.Map;

public class Java8BiConsumer4 {
    public static void main(String[] args) {
        Map<Integer, String> map = new LinkedHashMap<>();

        map.put(1, "Java");
        map.put(2, "C++");
        map.put(3, "Rust");
        map.put(4, "JavaScript");
        map.put(5, "Go");

        map.forEach((k,v) -> System.err.println(k + ":" + v));
    }
}
